package co.yixiang.modules.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import co.yixiang.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 * 选购商品表
 * </p>
 *
 * @author hisen
 * @since 2020-06-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="YxInvestOrderCartInfo对象", description="选购商品表")
public class YxInvestOrderCartInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

@TableId(value = "id", type = IdType.AUTO)
private Integer id;

@ApiModelProperty(value = "订单id")
private Integer orderId;

@ApiModelProperty(value = "购物车id")
private Integer cartId;

@ApiModelProperty(value = "商品ID")
private Integer productId;

@ApiModelProperty(value = "购买东西的详细信息")
private String cartInfo;

@ApiModelProperty(value = "唯一id")
@TableField(value = "`unique`")
private String unique;

}
